<?php
echo $this->render('common/header.phtml')?>
<link media="screen" type="text/css"
	href="<?php echo CSS_MIN_PATH;?>/style_organic.css"
	rel="stylesheet">
<link media="screen" type="text/css"
	href="<?php echo CSS_MIN_PATH;?>/mvc-current.css"
	rel="stylesheet">
<?php
$articleTable = Zend_Registry::get('database')->article;
$menu = Zend_Registry::get('config')->menu;
$articleDetail = $this->articleDetail;
?>
<div id="container">
	<div id="contentarchive">
		<div class="iloveline">
			<div style="margin: 15px 0 15px 0; font-size: 24px;">
				<div style="margin: 15px 0 0 0; font-size: 24px;"></div>
			</div>
			<div>
            <?php
            echo $articleDetail[$articleTable->content];
            ?>
        </div>
		</div>

		<?php
if ($articleDetail[$articleTable->type] == $menu->magazine) {
    ?>
        <script type="text/javascript">
        setTimeout(function(){
        	$('.issuuembed').children('div').children('div').eq(1).remove();
        }, 3000);
        </script>
        <?php
} else {
    ?>
        <div
			style="width: 980px; padding: 0; margin: 40px 0 20px 0; float: left;">
			<!--cnzz tui-->
			<script type="text/javascript" charset="utf-8"
				src="http://tui.cnzz.net/cs.php?id=1000043233">
			  </script>
			<!--cnzz tui-->
		</div>
		<script type="text/javascript">
        $(function(){
        	setTimeout(function(){
        		$(window.frames[0].document).find('#link').remove();
        	}, 500);
        });
        </script>

		<div style="clear: both;"></div>
		<?php
}
?>
		<div id="moduleSocialLinks"
			style="float: right; margin-top: 20px; width: 100%;">
			<ul id="rr_soc_mid" class="socialList clearfix"
				style="float: right; margin-right: 0;">
				<?php echo $this->render('common/sns.phtml'); ?>
			</ul>
		</div>
	</div>
	<!-- close #wrap div -->
<?php
echo $this->render('common/footer.phtml');
?>